<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        //扩展运算符 ...arr 可以让数组arr变成参数列表
        const tfBoys = ['wjk', 'yyqx', 'wk']

        function chunwan() {
            console.log(arguments)
        }
        chunwan(tfBoys) //只有一个参数
        chunwan(...tfBoys) //有三个参数
    </script>
</body>
</html>